package org.codert.jpa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author: TanJingyu
 * @create: 2021-08-19 16:21
 **/
@SpringBootApplication
@EnableJpaAuditing
@EnableJpaRepositories
@ServletComponentScan
//@EnableAsync
public class JpaBootApplication {
    public static void main(String[] args) {
        SpringApplication.run(JpaBootApplication.class, args);
    }
}
